package com.gpl.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 车辆状态类型对象 tb_state
 * 
 * @author luna
 * @date 2023-05-24
 */
public class TbState extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 状态id */
    private Long sid;

    /** 状态名称 */
    @Excel(name = "状态名称")
    private String sname;

    public void setSid(Long sid) 
    {
        this.sid = sid;
    }

    public Long getSid() 
    {
        return sid;
    }
    public void setSname(String sname) 
    {
        this.sname = sname;
    }

    public String getSname() 
    {
        return sname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sid", getSid())
            .append("sname", getSname())
            .toString();
    }
}
